home *** CD-ROM | disk | FTP | other *** search
/ Games of Daze / Infomagic - Games of Daze (Summer 1995) (Disc 1 of 2).iso / x2ftp / msdos / source / modex32 / maskim.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-09-03  |  720 b   |  21 lines

  1. /* MASKIM.H: structures used for storing and manipulating masked
  2.    images */
  3.  
  4. /* Describes one alignment of a mask-image pair */
  5.  
  6. typedef struct {
  7.    int ImageWidth; /* image width in addresses in display memory (also
  8.                       mask width in bytes) */
  9.    unsigned int ImagePtr; /* offset of image bitmap in display mem */
  10.    char *MaskPtr;  /* pointer to mask bitmap */
  11. } AlignedMaskedImage;
  12.  
  13. /* Describes all four alignments of a mask-image pair */
  14.  
  15. typedef struct {
  16.    AlignedMaskedImage *Alignments[4]; /* ptrs to AlignedMaskedImage
  17.                                       structs for four possible destination 
  18.                                       image alignments */
  19. } MaskedImage;
  20.  
  21.